package com.xuxin.nantai.contract;

import com.xuxin.nantai.bean.BaseBean;
import com.xuxin.nantai.bean.CompleteBean;
import com.xuxin.nantai.presenter.CompletePresenter;

/**
 * Created by xu_xin
 * Created on 2020.06.08 0008
 */
public interface CompleteContract {

    interface Model {

        void getComplete(CompletePresenter presenter, String LoginName, String ProductInfo, String InspectorInfo, int PageIndex);

        void delete(CompletePresenter presenter, String loginName, String UserName, String Guid);
    }

    interface View extends BaseContract.view {

        void onSuccess(CompleteBean completeBean);

        void onSuccess(BaseBean baseBean);
    }

    interface Presenter extends BaseContract.presenter {

        void getComplete(String LoginName, String ProductInfo, String InspectorInfo, int PageIndex);

        void delete(String loginName, String UserName, String Guid);

        void onSuccess(CompleteBean completeBean);

        void onSuccess(BaseBean baseBean);
    }
}